| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

List of all members
nkGraphics::ProgramManager Class Referencefinal

Manages the programs recorded. More...

Inheritance diagram for nkGraphics::ProgramManager:

## Additional Inherited Members
Public Member Functions inherited from nkGraphics::Manager< Program >
Program * | createOrRetrieve (nkMemory::StringView name)
Program * | record (nkMemory::StringView name, nkMemory::UniquePtr< Program > resource)
Program * | get (nkMemory::StringView name) const
Program * | getByIndex (unsigned int index) const
void | rename (nkMemory::StringView currentName, nkMemory::StringView newName)
void | erase (nkMemory::StringView name)
nkMemory::UniquePtr< Program > | relinquish (nkMemory::StringView name)

## Detailed Description

Manages the programs recorded.

Program creation / deletion can go through this class, allowing it to act as a repository of resources which lifetime will get managed as needed. Like any Manager, it is always owning the memory it owns, unless it passes back the ownership explicitly.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Programs/ProgramManager.h